﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MUD.Lib.Objects.Users;
using MUD.Lib.Utils;

namespace MUD.Lib.Commands
{
    class broadcast : ICommand
    {
        public void Execute(User user, string command)
        {
            if (user.IsAdmin() || user.IsGM())
                user.MasterObj.Broadcast(user.ShortDesc, command.Slice(1, command.Split(' ').Length));
        }

        public string Help()
        {
            throw new NotImplementedException();
        }
    }
}
